home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 087 / tcommsys.arc / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1987-08-01  |  3.3 KB  |  186 lines

  1. cls
  2. rem
  3. rem
  4. rem        Standby for system installation...
  5. rem
  6. echo off
  7. if %2 == 2 goto start
  8. if %2 == F goto start
  9. if %2 == f goto start
  10. echo on
  11. cls
  12. type install.txt
  13. pause
  14. echo off
  15. cls
  16. goto the_end
  17. :start
  18. if %2 == 2 goto dual
  19. if %2 == F goto hardisk
  20. if %2 == f goto hardisk
  21. :dual
  22. echo on
  23. cls
  24. rem
  25. rem
  26. REM      Dual Diskette Drive Installation Procedure with
  27. REM      the distribution disk in drive A:
  28. REM
  29. REM
  30. rem      If this not the correct installation procedure,  press
  31. rem      the Ctrl key and strike the Break (Scroll Lock) key
  32. rem      to terminate this procedure. Otherwise, press ENTER.
  33. rem
  34. rem
  35. pause
  36. rem
  37. rem
  38. REM
  39. REM
  40. PAUSE           Place the System Work diskette in drive B:
  41. rem
  42. echo off
  43. copy a:tcomm.exe b:
  44. copy a:tc-setup.exe b:
  45. copy a:setup.bat b:
  46. copy a:help b:
  47. copy a:*.tc b:
  48. del b:files*.*
  49. copy a:tc.bat b:
  50. copy a:ymodem.bat b:
  51. copy a:crcxmodm.bat b:
  52. copy a:xmodem.exe b:
  53. copy a:kermit.exe b:
  54. if %1 == p goto 2p
  55. if %1 == P goto 2p
  56. if %1 == b goto 2b
  57. if %1 == B goto 2b
  58. if %1 == r goto 2r
  59. if %1 == R goto 2r
  60. :2b
  61. copy bbs2.pro b:profile.tc
  62. copy bbs2.pro b:profile.bak
  63. goto dual_b
  64. :2r
  65. copy registr2.pro b:profile.tc
  66. copy registr2.pro b:profile.bak
  67. goto dual_b
  68. :2p
  69. copy private2.pro b:profile.tc
  70. copy private2.pro b:profile.bak
  71. :dual_b
  72. echo on
  73. cls
  74. REM
  75. REM
  76. REM
  77. REM
  78. REM
  79. PAUSE           Place the Files Work diskette in drive B:
  80. echo off
  81. copy a:files*.* b:
  82. copy a:bullet*.* b:
  83. copy a:*. b:
  84. del b:help.
  85. copy a:*.g b:
  86. copy a:sd.com b:
  87. echo on
  88. cls
  89. rem
  90. rem
  91. rem
  92. REM           The dual diskette installation procedure is completed.
  93. rem
  94. rem           Now follow these steps:
  95. rem
  96. rem           1. Remove the distribution diskette from drive A:
  97. REM           2. Place the System Work diskette in drive A:
  98. rem           3. Type the command SETUP and press ENTER
  99. rem
  100. rem
  101. goto the_end
  102. :hardisk
  103. echo on
  104. cls
  105. rem
  106. REM      Fixed Disk (Drive %3:) Installation Procedure with
  107. REM      the distribution disk in drive A:
  108. REM
  109. REM
  110. rem      If this not the correct installation procedure,  press
  111. rem      the Ctrl key and strike the Break (Scroll Lock) key
  112. rem      to terminate this procedure. Otherwise, press ENTER.
  113. rem
  114. rem
  115. pause
  116. echo off
  117. %3:
  118. CD\
  119. md tcomm
  120. cd\tcomm
  121. md files
  122. md messages
  123. md text
  124. md system
  125. md prog
  126. cd\tcomm\files
  127. copy a:files*.*
  128. copy a:*.bas
  129. copy a:bullet*.*
  130. cd\tcomm\messages
  131. copy a:m1
  132. cd\tcomm\text
  133. copy a:*.
  134. del help.
  135. copy a:*.g
  136. del files*.*
  137. del prog*.*
  138. del m1
  139. cd\tcomm\prog
  140. copy a:prog*.*
  141. copy a:sd.com
  142. cd\tcomm\system
  143. copy a:setup.bat
  144. copy a:tcomm.exe
  145. copy a:tc-setup.exe
  146. copy a:help
  147. copy a:*.tc
  148. del files*.*
  149. copy a:xmodem.exe
  150. copy a:kermit.exe
  151. copy a:crcxmodm.bat
  152. copy a:ymodem.bat
  153. copy a:*.com
  154. copy a:tc.bat
  155. if %1 == p goto fp
  156. if %1 == P goto fp
  157. if %1 == b goto fb
  158. if %1 == B goto fb
  159. if %1 == r goto fr
  160. if %1 == R goto fr
  161. :fb
  162. copy a:bbsf.pro profile.tc
  163. copy a:bbsf.pro profile.bak
  164. goto end_fd
  165. :fr
  166. copy a:registrf.pro profile.tc
  167. copy a:registrf.pro profile.bak
  168. goto end_fd
  169. :fp
  170. copy a:privatef.pro profile.tc
  171. copy a:privatef.pro profile.bak
  172. :end_fd
  173. echo on
  174. cls
  175. rem
  176. rem
  177. REM
  178. REM           The fixed disk installation procedure is completed.
  179. rem
  180. rem           Now follow these steps:
  181. rem
  182. rem           1. Remove the distribution diskette from drive A:
  183. REM           2. Store the distribution diskette in a safe place
  184. rem           3. Type the command SETUP and press ENTER
  185. :the_end
  186.